package util;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @Author: wenjingyuan
 * @Date: 2023/03/19/21:18
 * @Description:注册工具类
 */
@AllArgsConstructor
@Data
public class ResultUtils {
    private int succ;
    private Object data;
    private  String msg;
    public static ResultUtils toResult(int succ,Object data,String msg){
        ResultUtils resultUtils=new ResultUtils(succ, data, msg);
        return resultUtils;
    }
}
